﻿using System;
using System.ComponentModel.Composition;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Prism;
using System.Windows.Controls;
using BizControl.Presentation.PersonEditModule.ViewModels;
using Microsoft.Win32;
using System.Data.Linq;
using System.IO;
using Csla.Xaml;
using System.Windows;

namespace BizControl.Presentation.PersonEditModule.Views
{
  [Export]
  [PartCreationPolicy(CreationPolicy.NonShared)]
  public partial class PersonEditView : UserControl
  {
    public PersonEditView()
    {
      InitializeComponent();
    }

    [ImportingConstructor]
    public PersonEditView(PersonEditViewModel viewModel)
      : this()
    {
      this.DataContext = viewModel;
    }
  }
}
